package day4.HomeWork;

public class Person {
    private String name;

    public Person() {
    }

    public Person(String name) {
        this.name = name;
    }
    public void action(Traffic t){
        System.out.print(name+"正在");
        t.drive();
    }
}
